package com.sali.b_design_pattern.c_factory_method_pattern.lesson_02.factory.impl;

import com.sali.b_design_pattern.c_factory_method_pattern.lesson_02.factory.BlockFactory;
import com.sali.b_design_pattern.c_factory_method_pattern.lesson_02.service.Block;
import com.sali.b_design_pattern.c_factory_method_pattern.lesson_02.service.impl.CircleBlock;

// 具体圆形积⽊⼯⼚实现
public class CircleBlockFactory implements BlockFactory {

    @Override
    public Block createBlock() {
        return new CircleBlock();
    }

}
